package cn.change365.framework.utils;

import java.nio.charset.Charset;

/**
 * Created by Jack on 2015/6/23.
 */
public class Charsets {
        private Charsets() {
        }

        /**
         * The ISO-8859-1 charset.
         */
        public static final Charset ISO_8859_1 = Charset.forName("ISO-8859-1");

        /**
         * The US-ASCII charset.
         */
        public static final Charset US_ASCII = Charset.forName("US-ASCII");

        /**
         * The UTF-8 charset.
         */
        public static final Charset UTF_8 = Charset.forName("UTF-8");

        /**
         * The UTF-16 charset.
         */
        public static final Charset UTF_16 = Charset.forName("UTF-16");

        /**
         * The UTF-16BE (big-endian) charset.
         */
        public static final Charset UTF_16BE = Charset.forName("UTF-16BE");

        /**
         * The UTF-16LE (little-endian) charset.
         */
        public static final Charset UTF_16LE = Charset.forName("UTF-16LE");
}
